home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / fade into you / getting there / Apps / MOO-1.7.6.src / inc / my-signal.h < prev    next >
Text File  |  1994-11-02  |  2KB  |  72 lines

  1. /******************************************************************************
  2.   Copyright (c) 1992 Xerox Corporation.  All rights reserved.
  3.   Portions of this code were written by Stephen White, aka ghond.
  4.   Use and copying of this software and preparation of derivative works based
  5.   upon this software are permitted.  Any distribution of this software or
  6.   derivative works must comply with all applicable United States export
  7.   control laws.  This software is made available AS IS, and Xerox Corporation
  8.   makes no warranty about the software, its performance or its conformity to
  9.   any specification.  Any person obtaining a copy of this software is requested
  10.   to send their name and post office or electronic mail address to:
  11.     Pavel Curtis
  12.     Xerox PARC
  13.     3333 Coyote Hill Rd.
  14.     Palo Alto, CA 94304
  15.     Pavel@Xerox.Com
  16.  *****************************************************************************/
  17.  
  18. #include "config.h"
  19.  
  20. #if SIGNAL_H_NEEDS_HELP
  21. /* Some systems' headers don't include all of the headers they need. */
  22. #include <sys/types.h>
  23. #endif
  24.  
  25. #include <signal.h>
  26.  
  27. #if NDECL_KILL
  28. #include "my-types.h"
  29.  
  30. extern int    kill(pid_t, int);
  31. #endif
  32.  
  33. #if NDECL_SIGEMPTYSET && HAVE_SIGEMPTYSET
  34. extern int    sigemptyset(sigset_t *);
  35. extern int    sigaddset(sigset_t *, int);
  36. #endif
  37.  
  38. #if NDECL_SIGPROCMASK && HAVE_SIGPROCMASK
  39. extern int    sigprocmask(int, sigset_t *, sigset_t *);
  40. #endif
  41.  
  42. #if NDECL_SIGRELSE && HAVE_SIGRELSE
  43. extern int    sigrelse(int);
  44. #endif
  45.  
  46. #ifndef SIGCHLD
  47. #define SIGCHLD SIGCLD
  48. #endif
  49.  
  50. /* $Log: my-signal.h,v $
  51.  * Revision 1.7  1993/08/10  20:50:08  pavel
  52.  * Split out the optional declaration of sigprocmask as a separate case.
  53.  *
  54.  * Revision 1.6  1992/10/23  23:03:47  pavel
  55.  * Added copyright notice.
  56.  *
  57.  * Revision 1.5  1992/10/23  19:29:19  pavel
  58.  * Added declarations for POSIX-style mask-manipulation functions.
  59.  *
  60.  * Revision 1.4  1992/10/21  03:02:35  pavel
  61.  * Converted to use new automatic configuration system.
  62.  *
  63.  * Revision 1.3  1992/10/17  20:36:19  pavel
  64.  * Added some more system-dependent #if's.
  65.  *
  66.  * Revision 1.2  1992/07/30  00:32:20  pavel
  67.  * Add support for compiling on RISC/os 4.52 and NonStop-UX A22.
  68.  *
  69.  * Revision 1.1  1992/07/20  23:23:12  pavel
  70.  * Initial RCS-controlled version.
  71.  */
  72.